]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
telepathyClient: Fix undefined variable
authorJasper St. Pierre <jstpierre@mecheye.net>
Sun, 17 Jul 2011 19:18:33 +0000 (15:18 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Sun, 17 Jul 2011 19:26:52 +0000 (15:26 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=654791

js/ui/telepathyClient.js

index d0c92ab26dcc65a6e2611ba02b4d44bb892369e3..1d91ba4684bdc7fa3f1a8f0cc41e5eb27f3c9caa 100644 (file)
@@ -248,7 +248,7 @@ Client.prototype = {
                                         Lang.bind(this, function(dispatchOp, result) {
                 try {
                     dispatchOp.claim_with_finish(result);
-                    this._handlingChannels(account, conn, channels);
+                    this._handlingChannels(account, conn, [channel]);
                 } catch (err) {
                     throw new Error('Failed to Claim channel: ' + err);
                 }}));